package com.wsoft.hr.pm.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wsoft.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 模版考核流程卡片
 * </p>
 *
 * @author zhonglj
 * @since 2025年02月28日 18:18:07
 */
@Getter
@Setter
@TableName("hr_pm_process_template_card")
@Schema(name = "HrPmProcessTemplateCardEntity", description = "模版考核流程卡片")
public class HrPmProcessTemplateCardEntity extends BaseEntity {

    @Schema(description = "模版考核流程主表id")
    @TableField("pid")
    private Long pid;

    @Schema(description = "卡片类型")
    @TableField("card_type")
    private String cardType;

    @Schema(description = "卡片名称")
    @TableField("card_name")
    private String cardName;

    @Schema(description = "审核类型")
    @TableField("assign_type")
    private String assignType;

    @Schema(description = "审核值（多个逗号分割）")
    @TableField("assign_value")
    private String assignValue;

    @Schema(description = "串行排序")
    @TableField("serial_sort")
    private Integer serialSort;

    @Schema(description = "并行排序")
    @TableField("parallel_sort")
    private Integer parallelSort;

    @Schema(description = "是否激活(0否，1是)")
    @TableField("is_active")
    private Integer isActive;

    @Schema(description = "同一序列标识唯一")
    @TableField("serial_uuid")
    private String serialUuid;
}
